package com.sg.vo;

import java.sql.Timestamp;

/**
 * @author zl
 * 订单vo实体类
 */

public class OrderVO {

    /**
     * 订单编号
     */
    private int orderId;

    /**
     * 订单时间
     */
    private Timestamp orderTime;

    /**
     * 订单总金额
     */
    private int prices;
    /**
     * 用户编号
     */
    private int uId;

    /**
     * 用户名称
     */
    private String uName;
    /**
     * 用户地址
     */
    private String uAdress;

    /**
     * 用户电话
     */
    private String uTel;

    /**
     * 订单状态编号
     */
    private int osId;

    /**
     * 订单状态名称
     */
    private String osName;

    /**
     * 商家编号
     */
    private int businessId;

    /**
     * 商家名称
     */
    private String businessName;

    /**
     * 是否删除(取消订单)
     */
    private int isDelete;

    /**
     * 商家地址
     */
    private String businessAddress;

    /**
     * 商家头像
     */
    private String businessImg;

    /**
     * 商家电话
     */
    private String businessTel;

    @Override
    public String toString() {
        return "OrderVO{" +
                "orderId=" + orderId +
                ", orderTime=" + orderTime +
                ", uId=" + uId +
                ", isDelete=" + isDelete +
                ", osId=" + osId +
                ", prices=" + prices +
                ", businessId=" + businessId +
                ", uName='" + uName + '\'' +
                ", osName='" + osName + '\'' +
                ", businessName='" + businessName + '\'' +
                ", uAdress='" + uAdress + '\'' +
                ", businessAddress='" + businessAddress + '\'' +
                ", businessImg='" + businessImg + '\'' +
                ", businessTel='" + businessTel + '\'' +
                ", uTel='" + uTel + '\'' +
                '}';
    }

    public OrderVO(int orderId, Timestamp orderTime, int uId, int isDelete, int osId, int prices, int businessId, String uName, String osName, String businessName, String uAdress, String businessAddress, String businessImg, String businessTel, String uTel) {
        this.orderId = orderId;
        this.orderTime = orderTime;
        this.uId = uId;
        this.isDelete = isDelete;
        this.osId = osId;
        this.prices = prices;
        this.businessId = businessId;
        this.uName = uName;
        this.osName = osName;
        this.businessName = businessName;
        this.uAdress = uAdress;
        this.businessAddress = businessAddress;
        this.businessImg = businessImg;
        this.businessTel = businessTel;
        this.uTel = uTel;
    }

    public OrderVO() {
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public Timestamp getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Timestamp orderTime) {
        this.orderTime = orderTime;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public int getOsId() {
        return osId;
    }

    public void setOsId(int osId) {
        this.osId = osId;
    }

    public int getPrices() {
        return prices;
    }

    public void setPrices(int prices) {
        this.prices = prices;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getOsName() {
        return osName;
    }

    public void setOsName(String osName) {
        this.osName = osName;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getuAdress() {
        return uAdress;
    }

    public void setuAdress(String uAdress) {
        this.uAdress = uAdress;
    }

    public String getBusinessAddress() {
        return businessAddress;
    }

    public void setBusinessAddress(String businessAddress) {
        this.businessAddress = businessAddress;
    }

    public String getBusinessImg() {
        return businessImg;
    }

    public void setBusinessImg(String businessImg) {
        this.businessImg = businessImg;
    }

    public String getBusinessTel() {
        return businessTel;
    }

    public void setBusinessTel(String businessTel) {
        this.businessTel = businessTel;
    }

    public String getuTel() {
        return uTel;
    }

    public void setuTel(String uTel) {
        this.uTel = uTel;
    }
}
